<?php
class Index extends CI_Controller{
    public function __construct(){
        parent::__construct();
        $this->load->helper("url");
		$this->load->library('session');
    }
    public function index(){

        $show['title'] = "Trang chủ";
        $show['view'] = "frontend/layout/blog";
		$show['result'] = array(json_decode(file_get_contents('http://egov047.juddy.vn/api/place/getall'),true));
		$this->load->view('frontend/content', $show);
    }
}
?>